<template>
  <!-- 测试按钮 -->
  <el-button size="mini" @click="fn">导出</el-button>
</template>

<script>
import exportToExcel from '@/utils/Export2Excel'
export default {
  data() {
    return {}
  },

  methods: {
    fn() {
      exportToExcel()
    }
  }
}
</script>

<style lang="less" scoped></style>
